projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2b7ee
)
x86: Reserve configuration tables in high memory
author
Bin Meng
<
[email protected]
>
Wed, 11 May 2016 14:45:01 +0000
(07:45 -0700)
committer
Bin Meng
<
[email protected]
>
Mon, 23 May 2016 07:18:00 +0000
(15:18 +0800)
When SeaBIOS is on, reserve configuration tables in reserve_arch().
Signed-off-by: Bin Meng <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
arch/x86/cpu/cpu.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/cpu.c
b/arch/x86/cpu/cpu.c
index 2e27d782d1bd76334651fedf1b9e8711ab0f7bd9..e522ff3b7f651cb8f8dcbc7d02983b255674dad3 100644
(file)
--- a/
arch/x86/cpu/cpu.c
+++ b/
arch/x86/cpu/cpu.c
@@
-25,6
+25,7
@@
#include <errno.h>
#include <malloc.h>
#include <asm/control_regs.h>
+#include <asm/coreboot_tables.h>
#include <asm/cpu.h>
#include <asm/lapic.h>
#include <asm/microcode.h>
@@
-757,9
+758,13
@@
int cpu_init_r(void)
int reserve_arch(void)
{
#ifdef CONFIG_ENABLE_MRC_CACHE
- return mrccache_reserve();
-#else
- return 0;
+ mrccache_reserve();
+#endif
+
+#ifdef CONFIG_SEABIOS
+ high_table_reserve();
#endif
+
+ return 0;
}
#endif